package com.ruantu.clothing.service.report;

import com.ruantu.clothing.entity.PageBean;
import com.ruantu.clothing.entity.report.TailorReport;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/8/8 0008.
 */
public interface TailorReportService {

    /**
     * 查询裁剪单
     *
     * @param
     * @return
     */
    List<TailorReport> findListReport(TailorReport tailorReport, String sort, String order, PageBean pageBean, String startTime, String endTime, Integer fenlei);

    /**
     * 查询裁减总数
     *
     * @return
     */
    List<TailorReport> findTailorSum(TailorReport tailorReport, String sort, String order, String startTime, String endTime);

    /**
     * 导出excel
     *
     * @param tailorReport
     * @param startTime
     * @param endTime
     * @param fenlei
     * @return
     */
    XSSFWorkbook downloadExcel(TailorReport tailorReport, String startTime, String endTime, Integer fenlei);
}
